from requests import post

from core.rest_client import RestClient


class Api(RestClient):
    def __init__(self):
        super().__init__()

    def get_mobile_belong(self,**kwargs):
        return self.post('/shouji/query',**kwargs)

    def get_json(self,**kwargs):
        return self.post1("/posts", **kwargs)


api_util = Api()